#pragma once
#include <my_header.h>
#define CARRIAGE_SIZE 1024

typedef struct train_s{
    int _length;
    char* _data[CARRIAGE_SIZE];
}train_t;

int transFile(const int netfd, const char* filename);

int recvFile(const int netfd);

int sendMsg(const int netfd, char* buf);

int recvMsg(const int netfd, char* buf);


